Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@babel/helper-create-regexp-features-plugin
Advanced tools
Compile ESNext Regular Expressions to ES5
The @babel/helper-create-regexp-features-plugin is a helper plugin used internally by Babel's transform plugins to compile regular expressions using the RegExp features provided in ECMAScript 2015+ into equivalent regular expressions that are compatible with older JavaScript engines. This plugin is not typically used directly by developers but is instead used by other Babel plugins to handle regular expression transformations.
Transform RegExp Literals
This feature allows Babel plugins to transform RegExp literals using new syntax features into a form that can be understood by older JavaScript engines.
This is an internal helper plugin and does not provide a public API for direct usage in code. It is used by other Babel plugins to transform RegExp literals.
Support for RegExp Proposals
This feature enables Babel plugins to add support for proposed RegExp features that are not yet part of the ECMAScript standard.
This is an internal helper plugin and does not provide a public API for direct usage in code. It is used by other Babel plugins to add support for RegExp proposals.
The regexpu-core package is a RegExp utility library that transforms Unicode-aware regular expressions into ES5-compatible versions. This is similar to @babel/helper-create-regexp-features-plugin in that it also deals with transforming regular expressions for compatibility purposes.
Compile ESNext Regular Expressions to ES5
See our website @babel/helper-create-regexp-features-plugin for more information.
Using npm:
npm install --save @babel/helper-create-regexp-features-plugin
or using yarn:
yarn add @babel/helper-create-regexp-features-plugin
v7.25.9 (2024-10-22)
babel-parser
, babel-template
, babel-types
syntacticPlaceholders
mode (@liuxingbaoyu)babel-helper-compilation-targets
, babel-preset-env
ClassAccessorProperty
to prevent the no-undef
rule (@victorenator)babel-parser
, babel-types
VISITOR_KEYS
etc. faster to access (@liuxingbaoyu)FAQs
Compile ESNext Regular Expressions to ES5
The npm package @babel/helper-create-regexp-features-plugin receives a total of 24,392,050 weekly downloads. As such, @babel/helper-create-regexp-features-plugin popularity was classified as popular.
We found that @babel/helper-create-regexp-features-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.